package com.wiki.gds.backstage;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

/**
 * Created by Administrator on 2017/7/16.
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.wiki.gds.*.facade"})
@ComponentScan(basePackages={"com.wiki.gds.backstage.admin"
        ,"com.wiki.gds.base.web"
        ,"com.wiki.gds.base.security.*"
        })//扫描其他模块包
public class BackAdminControllerApplication {

    public static void main(String[] args) {
        SpringApplication.run(BackAdminControllerApplication.class);
    }
}
